Fix regression with pthread_sigmask on FreeBSD.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 17 Jul 2012 02:09:58 +0000 (19:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 17 Jul 2012 02:09:58 +0000 (19:09 -0700)
commit6be845fcb7cc88a6ef6ad72d3f5c9ea4be1fe08e
tree86777903ebbcdc21de96901999c8bb1738db1996
parent43c99273b21b073b8b155eb05ea26edd654e55df
Fix regression with pthread_sigmask on FreeBSD.

* configure.ac: Configure gnulib at the end, not before running
pkg-config.  This restores the behavior before 2012-06-22, when
higher-resolution time stamps were added, and fixes a bug whereby
LIB_PTHREAD was not used and gnulib's part of 'configure'
therefore incorrectly assumed that pthread_sigmask wasn't working.
Fix the problem with -lrt and clock_gettime a different way.
This should complete the fix for Bug#11884.
(pre_PKG_CONFIG_CFLAGS, pre_PKG_CONFIG_LIBS): New shell vars.
ChangeLog
configure.ac